<template>
  <view class="card-alert">
    <ve-icon class="notice-icon" name="rs_notice" size="32"></ve-icon>
    <view class="content">
      <slot></slot>
    </view>
  </view>
</template>

<style lang="less" scoped>
  .card-alert {
    width: 100%;
    padding: 24rpx 8rpx 24rpx 22rpx;
    background: #e8f3ff;
    font-weight: 400;
    font-size: 24rpx;
    color: #1d2129;
    line-height: 44rpx;
    display: flex;
    align-items: flex-start;

    .notice-icon {
      margin-right: 6rpx;
      margin-top: 6rpx;
    }
  }
</style>
